.class Lcom/waiqin365/lightapp/product/dh;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/dh;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dh;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->M(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dh;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->L(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/dh;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->M(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    invoke-static {v3, v1}, Ljava/lang/Math;->max(II)I

    move-result v1

    invoke-virtual {v0, v3, v1}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->scrollTo(II)V

    return-void
.end method
